package main

import "fmt"

type Father struct {
	son  Person
	Name string
}

func (f Father) teach() {
	fmt.Println("I am " + f.Name + ", teaching my son" + f.son.Name)
}

func main() {
	p := Person{"Jack"}
	f := Father{p, "Tom"}
	f.teach()
}
